package com.laborer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laborer.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: zhangzhe
 * @Date:   2021-06-08
 * @Version: V1.0
 */
public interface UserMapper extends BaseMapper<User> {


    /**
     * 根据用户名,修改密码
     * @param user
     */
    int updatePassword(@Param("user") User user);

}
